*******************************************
Lab # 1 - OSPF on an Ethernet Interface
*******************************************

+++++++++++++++++++++++++++++
192.1.100.0/24
+++++++++++++++++++++++++++++

-----
R1
-----

router ospf 1
 router-id 0.0.0.1
 network 192.1.100.0 0.0.0.255 area 10
 network 1.0.0.0 0.255.255.255 area 10

-----
R2
-----

router ospf 1
 router-id 0.0.0.2
 network 192.1.100.0 0.0.0.255 area 10
 network 2.0.0.0 0.255.255.255 area 10
!
Interface E 0/0
 ip ospf priority 10

-----
R3
-----

router ospf 1
 router-id 0.0.0.3
 network 192.1.100.0 0.0.0.255 area 10
 network 3.0.0.0 0.255.255.255 area 10

-----
R11
-----

router ospf 1
 router-id 0.0.0.11
 network 192.1.100.0 0.0.0.255 area 10
 network 11.0.0.0 0.255.255.255 area 10
!
Interface E 0/0
 ip ospf priority 5

+++++++++++++++++++++++++++++
192.1.103.0/24
+++++++++++++++++++++++++++++

-----
R3
-----

router ospf 1
 network 192.1.103.0 0.0.0.255 area 10
!
Interface E 0/1
 ip ospf priority 5

-----
R4
-----

router ospf 1
 router-id 0.0.0.4
 network 192.1.103.0 0.0.0.255 area 10
 network 4.0.0.0 0.255.255.255 area 10
!
Interface E 0/0
 ip ospf priority 10

-----
R6
-----

router ospf 1
 router-id 0.0.0.6
 network 192.1.103.0 0.0.0.255 area 10
 network 6.0.0.0 0.255.255.255 area 10

+++++++++++++++++++++++++++++
192.1.67.0/24
+++++++++++++++++++++++++++++

-----
R6
-----

router ospf 1
 network 192.1.67.0 0.0.0.255 area 10

-----
R7
-----

router ospf 1
 router-id 0.0.0.7
 network 192.1.67.0 0.0.0.255 area 10

*******************************************
Lab # 2 - OSPF on a Loopback Interface
*******************************************

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Requirement: The Loopback interface should be advertised using the Interface Mask
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-----
R1
-----

Interface Loopback0
 ip ospf network point-to-point

-----
R2
-----

Interface Loopback0
 ip ospf network point-to-point

-----
R3
-----

Interface Loopback0
 ip ospf network point-to-point

-----
R4
-----

Interface Loopback0
 ip ospf network point-to-point

-----
R5
-----

Interface Loopback0
 ip ospf network point-to-point

-----
R6
-----

Interface Loopback0
 ip ospf network point-to-point

-----
R7
-----

Interface Loopback0
 ip ospf network point-to-point

-----
R11
-----

Interface Loopback0
 ip ospf network point-to-point

**********************************************
Lab # 3 - OSPF on a Point-to-Point Interface
**********************************************

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Requirement: The Loopback interface should be advertised using the Interface Mask
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++
192.1.101.0/24
+++++++++++++++++++++++++++++

-----
R2
-----

router ospf 1
 network 192.1.101.0 0.0.0.255 area 10

-----
R5
-----

router ospf 1
 router-id 0.0.0.5
 network 192.1.101.0 0.0.0.255 area 10
 network 5.0.0.0 0.255.255.255 area 10

+++++++++++++++++++++++++++++
192.1.102.0/24
+++++++++++++++++++++++++++++

-----
R4
-----

router ospf 1
 network 192.1.102.0 0.0.0.255 area 10

-----
R5
-----

router ospf 1
 network 192.1.102.0 0.0.0.255 area 10

******************************************************************
Lab # 4 - Optimizing an Ethernet Point-to-point Physical circuit
******************************************************************

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Requirement: Configure the Neighbor relationship between R6 & R7 such that it skips the DR/BDR election
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-----
R6
-----

Interface E 0/1
 ip ospf network point-to-point

-----
R7
-----

Interface E 0/0
 ip ospf network point-to-point

*******************************************************************
Lab # 5 - Configure Inter-Area Communication by setting up Area 0
*******************************************************************

+++++++++++++++++++++++++++++
192.1.78.0/24
+++++++++++++++++++++++++++++

-----
R7
-----

router ospf 1
 network 192.1.78.0 0.0.0.255 area 0
 network 7.0.0.0 0.255.255.255 area 0

-----
R8
-----

router ospf 1
 router-id 0.0.0.8
 network 192.1.78.0 0.0.0.255 area 0
 network 192.1.89.0 0.0.0.255 area 0
 network 8.0.0.0 0.255.255.255 area 0
!
Interface Loopback0
 ip ospf network point-to-point

-----
R9
-----

router ospf 1
 router-id 0.0.0.9
 network 192.1.89.0 0.0.0.255 area 0

*******************************************************************
Lab # 6 - Unicast OSPF
*******************************************************************

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Requirement: R7 & R8 should communicate to each other using Unicast Addresses
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

------
R7
------

Interface E 0/1
 ip ospf network non-broadcast
!
router ospf 1
 neighbor 192.1.78.8

------
R8
------

Interface E 0/0
 ip ospf network non-broadcast
!
router ospf 1
 neighbor 192.1.78.7

*******************************************************************
Lab # 7 - Configure EIGRP in AS 111
*******************************************************************

------
R9
------

router eigrp 111
 network 9.0.0.0
 network 192.1.90.0

------
R10
------

router eigrp 111
 network 10.0.0.0
 network 192.1.90.0

*******************************************************************
Lab # 8 - Configure Route Redistribution
*******************************************************************

------
R9
------

router ospf 1
 redistribute eigrp 111
!
router eigrp 111
 redistribute ospf 1 metric 10 10 10 10 10

*************************************************
LSA Types
*************************************************

*********************************
LSA Type 1 - Router LSA
*********************************

0.0.0.1 (LSA Type 1 - 2)
	1	1
	100	10
0.0.0.2 (LSA Type 1 - 4)
	2	1
	100	10
	101	64 (P2P)
	R5	Neighbor
0.0.0.3 (LSA Type 1 - 3)
	3	1
	100	10
	103	10
0.0.0.11 (LSA Type 1 - 2)
	11	1
	100	10
0.0.0.5 (LSA Type 1 - 5)
	5	1
	101	64
	R2	Neighbor
	102	64
	R4	Neighbor
0.0.0.4 (LSA Type 1 - 4)
	4	1
	102	64
	R5	Neighbor
	103	10
0.0.0.6
	6	1
	103	10
	67	10
	R7	Neighbor
0.0.0.7
	67	10
	R7	Neighbor

*********************************
LSA Type 2 - Network LSA
*********************************

Network - 100 (Advertised by the DR)

	Attached Routers: 0.0.0.1, 0.0.0.2, 0.0.0.3 & 0.0.0.11

Network - 103 (Advertised by the DR)

	Attached Routers: 0.0.0.3, 0.0.0.4 & 0.0.0.6

Verification Commands: 

Show ip ospf database router - LSA Type 1
Show ip ospf database network - LSA Type 2


